﻿using Pulsus;

namespace SlamCms.Logging
{
	public class DefaultLogManager : ILogManager
	{
		public LoggingEventBuilder CreateEvent()
		{
			return LogManager.EventFactory.Create();
		}

		public T CreateEvent<T>() where T : class, ILoggingEventBuilder<T>, new()
		{
			return LogManager.EventFactory.Create<T>();
		}
	}
}
